package cn.stylefeng.guns.sys.modular.system.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;

/**
 * @author YuJiBiao
 * @version: 1.0
 * @Date 2020/7/8 16:34
 **/
@TableName("kms_app")
public class KmsApp implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 块id
     */
    @TableField(value = "block_id")
    private String blockId;



    /**
     * 密钥
     */
    @TableField(value = "key_")
    private String key;

    /**
     * 目标站点id
     */
    @TableField(value = "dest_id")
    private String destId;

    /**
     * 源id
     */
    @TableField(value = "site_id")
    private String site_id;


    /**
     * 源id
     */
    @TableField(value = "token")
    private String token;


    /**
     * 用户id
     */
    @TableField(value = "status")
    private Integer status;


    /**
     * 源id
     */
    @TableField(value = "name")
    private String name;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getBlockId() {
        return blockId;
    }

    public void setBlockId(String blockId) {
        this.blockId = blockId;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getDestId() {
        return destId;
    }

    public void setDestId(String destId) {
        this.destId = destId;
    }

    public String getSite_id() {
        return site_id;
    }

    public void setSite_id(String site_id) {
        this.site_id = site_id;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }
}
